<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: nars.language.CompoundTerm.isOperator</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d0/dee/classnars_1_1language_1_1CompoundTerm_ad1d227398882f18af4624dd506c807c5.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="contents">
<a class="anchor" id="ad1d227398882f18af4624dd506c807c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static boolean nars.language.CompoundTerm.isOperator </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check <a class="el" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html" title="A CompoundTerm is a Term with internal (syntactic) structure. ">CompoundTerm</a> operator symbol. </p>
<dl class="section return"><dt>Returns</dt><dd>if the given String is an operator symbol </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>The String to be checked </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="../../d5/d0e/CompoundTerm_8java_source.html#l00198">198</a> of file <a class="el" href="../../d5/d0e/CompoundTerm_8java_source.html">CompoundTerm.java</a>.</p>

<p>References <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00068">nars.io.Symbols.CONJUNCTION_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00059">nars.io.Symbols.DIFFERENCE_EXT_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00060">nars.io.Symbols.DIFFERENCE_INT_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00067">nars.io.Symbols.DISJUNCTION_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00062">nars.io.Symbols.IMAGE_EXT_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00063">nars.io.Symbols.IMAGE_INT_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00057">nars.io.Symbols.INTERSECTION_EXT_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00058">nars.io.Symbols.INTERSECTION_INT_OPERATOR</a>, <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00066">nars.io.Symbols.NEGATION_OPERATOR</a>, and <a class="el" href="../../d5/da0/Symbols_8java_source.html#l00061">nars.io.Symbols.PRODUCT_OPERATOR</a>.</p>

<p>Referenced by <a class="el" href="../../d7/dcd/StringParser_8java_source.html#l00347">nars.io.StringParser.parseCompoundTerm()</a>.</p>
<div class="fragment"><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;                                               {</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="keywordflow">if</span> (s.length() == 1) {</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;            <span class="keywordflow">return</span> (s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_aa212451310e63f528feef0782ee2f47d.html#aa212451310e63f528feef0782ee2f47d">INTERSECTION_EXT_OPERATOR</a>) ||</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_af1c54fdf9aaf9940b09080bb3abf0029.html#af1c54fdf9aaf9940b09080bb3abf0029">INTERSECTION_INT_OPERATOR</a>) ||</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_ad1172815e3ed394951eb79fd92d173d4.html#ad1172815e3ed394951eb79fd92d173d4">DIFFERENCE_EXT_OPERATOR</a>) ||</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_ad314725cbe3608c918443097867dc24e.html#ad314725cbe3608c918443097867dc24e">DIFFERENCE_INT_OPERATOR</a>) ||</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_adb227f1a29cc4678727515cde5bd34c9.html#adb227f1a29cc4678727515cde5bd34c9">PRODUCT_OPERATOR</a>) ||</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a71b8c0790cd38a4ad229405e996287d6.html#a71b8c0790cd38a4ad229405e996287d6">IMAGE_EXT_OPERATOR</a>) ||</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3.html#a5bc9e12a9a70988c241652f088fa29d3">IMAGE_INT_OPERATOR</a>));</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        }</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="keywordflow">if</span> (s.length() == 2) {</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;            <span class="keywordflow">return</span> (s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a135cac9f3b8eecfc2549ed9c445043ec.html#a135cac9f3b8eecfc2549ed9c445043ec">NEGATION_OPERATOR</a>) ||</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_ac0ff22736c16f3735a1783a30bedc141.html#ac0ff22736c16f3735a1783a30bedc141">DISJUNCTION_OPERATOR</a>) ||</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;                    s.equals(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a030df2adb13fa53908e2edbac12fb085.html#a030df2adb13fa53908e2edbac12fb085">CONJUNCTION_OPERATOR</a>));</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        }</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    }</div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a71b8c0790cd38a4ad229405e996287d6_html_a71b8c0790cd38a4ad229405e996287d6"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a71b8c0790cd38a4ad229405e996287d6.html#a71b8c0790cd38a4ad229405e996287d6">nars.io.Symbols.IMAGE_EXT_OPERATOR</a></div><div class="ttdeci">static final String IMAGE_EXT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00062">Symbols.java:62</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a030df2adb13fa53908e2edbac12fb085_html_a030df2adb13fa53908e2edbac12fb085"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a030df2adb13fa53908e2edbac12fb085.html#a030df2adb13fa53908e2edbac12fb085">nars.io.Symbols.CONJUNCTION_OPERATOR</a></div><div class="ttdeci">static final String CONJUNCTION_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00068">Symbols.java:68</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_html"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols.html">nars.io.Symbols</a></div><div class="ttdoc">The ASCII symbols used in I/O. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00026">Symbols.java:26</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_adb227f1a29cc4678727515cde5bd34c9_html_adb227f1a29cc4678727515cde5bd34c9"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_adb227f1a29cc4678727515cde5bd34c9.html#adb227f1a29cc4678727515cde5bd34c9">nars.io.Symbols.PRODUCT_OPERATOR</a></div><div class="ttdeci">static final String PRODUCT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00061">Symbols.java:61</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_ac0ff22736c16f3735a1783a30bedc141_html_ac0ff22736c16f3735a1783a30bedc141"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_ac0ff22736c16f3735a1783a30bedc141.html#ac0ff22736c16f3735a1783a30bedc141">nars.io.Symbols.DISJUNCTION_OPERATOR</a></div><div class="ttdeci">static final String DISJUNCTION_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00067">Symbols.java:67</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3_html_a5bc9e12a9a70988c241652f088fa29d3"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3.html#a5bc9e12a9a70988c241652f088fa29d3">nars.io.Symbols.IMAGE_INT_OPERATOR</a></div><div class="ttdeci">static final String IMAGE_INT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00063">Symbols.java:63</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_ad314725cbe3608c918443097867dc24e_html_ad314725cbe3608c918443097867dc24e"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_ad314725cbe3608c918443097867dc24e.html#ad314725cbe3608c918443097867dc24e">nars.io.Symbols.DIFFERENCE_INT_OPERATOR</a></div><div class="ttdeci">static final String DIFFERENCE_INT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00060">Symbols.java:60</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_af1c54fdf9aaf9940b09080bb3abf0029_html_af1c54fdf9aaf9940b09080bb3abf0029"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_af1c54fdf9aaf9940b09080bb3abf0029.html#af1c54fdf9aaf9940b09080bb3abf0029">nars.io.Symbols.INTERSECTION_INT_OPERATOR</a></div><div class="ttdeci">static final String INTERSECTION_INT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00058">Symbols.java:58</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a135cac9f3b8eecfc2549ed9c445043ec_html_a135cac9f3b8eecfc2549ed9c445043ec"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a135cac9f3b8eecfc2549ed9c445043ec.html#a135cac9f3b8eecfc2549ed9c445043ec">nars.io.Symbols.NEGATION_OPERATOR</a></div><div class="ttdeci">static final String NEGATION_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00066">Symbols.java:66</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_aa212451310e63f528feef0782ee2f47d_html_aa212451310e63f528feef0782ee2f47d"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_aa212451310e63f528feef0782ee2f47d.html#aa212451310e63f528feef0782ee2f47d">nars.io.Symbols.INTERSECTION_EXT_OPERATOR</a></div><div class="ttdeci">static final String INTERSECTION_EXT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00057">Symbols.java:57</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_ad1172815e3ed394951eb79fd92d173d4_html_ad1172815e3ed394951eb79fd92d173d4"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_ad1172815e3ed394951eb79fd92d173d4.html#ad1172815e3ed394951eb79fd92d173d4">nars.io.Symbols.DIFFERENCE_EXT_OPERATOR</a></div><div class="ttdeci">static final String DIFFERENCE_EXT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00059">Symbols.java:59</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad1d227398882f18af4624dd506c807c5_ad1d227398882f18af4624dd506c807c5_icgraph.svg" width="100%" height="432"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d81/namespacenars.html">nars</a></li><li class="navelem"><a class="el" href="../../d0/d72/namespacenars_1_1language.html">language</a></li><li class="navelem"><a class="el" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:59 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
